.wrapper{
    width: 50%;
    height:200px;
    border: 1px solid rgb(199, 18, 115);
    margin-left: 100px;
}
.layout2 li{
    display: inline;
}
.layout2 span{
    display: block;
}

.layout2 p{
    display: inline-block;
}

/* 网格 */
.layout4{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 100px 100px;
    grid-gap:5px;
}

.layout4 > div{
    background: rgb(209, 20, 197);
    border-radius: 5px;
}

.layout5{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 75px 75px;
    grid-gap:5px;
}

.layout5 > div{
    background: rgb(209, 20, 197);
    border-radius: 5px;
}

.layout5 .box1{
    grid-column: 2/4;
    grid-row: 1;
}

.layout5 .box2{
    grid-column: 1;
    grid-row:1/3;
}

.layout5 .box3{
    grid-column: 3;
    grid-row:2;
}

/* 浮动 */
.layout6 > div{
    float: left;
    background: rgb(129, 222, 29);
    margin-right: 10px;
}
.layout6 .box2{
    float:right;
}
/* 定位 */
.layout7{
    position: relative;
}
.layout7 > div{
    background: rgb(32, 32, 229);
    border-radius: 5px;
    margin:5px;
}

.layout7 .box2{
    position:relative;
    top:50px;
    left: 0;
}

.layout7 .box3{
    position:absolute;
    left: 0;
    top: 50px;
}
/* css表格布局 */
.layout8 form{
    display: table;
    border-collapse: separate;
    word-spacing: 2px;
}

.layout8 div{
    display: table-row;
}
.layout8 label, .layout8 input{
    display: table-cell;
}

.layout8 label{
    width: 100px;
    text-align: right;
    padding-right: 10px;
}
.layout8 input{
    width: 200px;
}
.layout8 p{
    display: table-caption;
    caption-side: bottom;
}
/* 多列布局 */
.layout9{
    column-width: 50px;
}